SDEF
// -----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/bee.def       $
// $Revision:: 27                                                             $
//   $Author:: Joeske                                                         $
//     $Date:: 10/25/98 8:15p                                                 $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// This is a model definition file.  It is to be used in conjunction with Sin.
// -----------------------------------------------------------------------------
// DESCRIPTION:
// Beecadrone
//
// MODEL AUTHOR:
// Michael
//
/*SINED Monster_Beecadrone (1 .5 0) (0 0 0) (0 0 0)
Beecadrone
*/

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands

// Base Model
path models/bee
//origin 0 0 -38
bee.sbm

// Skins
bee_base.tga

// Normal Animations
idle1      	bee_idle1.sam
fly1        bee_run.sam
fly_patrol1 bee_patrol.sam
fire1       bee_fire.sam
melee1      bee_melee1.sam
pain1       bee_pain1.sam
pain2       bee_pain2.sam
pain3       bee_pain3.sam
pain4       bee_stepleft.sam
pain5       bee_stepright.sam
death1      bee_death1.sam
step_left   bee_stepleft.sam
step_right	bee_stepright.sam

// Id And Group Definitions
id 10 group light fullbright
id 20 group front metal
id 30 group back metal
id 5 group front bone gun 180 0 0


// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname actor
server script global/beecadrone.scr
server setsize "-18 -18 -8" "18 18 8"
server flags -blood +sparks -die_gibs +die_shatter
server weapon BeeGun
server aim 0.3
server meleerange 50
server meleedamage 10
server painthreshold 3
server shotsperattack 3
server shatter_minsize 10
server shatter_maxsize 20
server shatter_thickness 0
server shatter_percentage 30
server health 60
server attackrange 500
server noshadow

// Sound Aliases
server aliascache snd_idle1 "monsters/beec/mixidle1.wav" 1 
server aliascache snd_idle2 "monsters/beec/mixidle2.wav" 1 
server aliascache snd_idle3 "monsters/beec/mixidle3.wav" 1 

server aliascache snd_hover1 "monsters/beec/mixidle1.wav" 1
server aliascache snd_idle_hover1 "monsters/beec/idlelow.wav" 1

//
// CLIENT Initialization Commands
//

// Sound Aliases

//
// SHARED initialization commands
//

// Sound Aliases
client aliascache snd_painshrt1 "monsters/beec/painb1.wav" 1 
client aliascache snd_painshrt2 "monsters/beec/painb2.wav" 1 
client aliascache snd_painshrt3 "monsters/beec/painb3.wav" 1 

client aliascache snd_painlng1 "monsters/beec/paina1.wav" 1 
client aliascache snd_painlng2 "monsters/beec/paina2.wav" 1 
client aliascache snd_painlng3 "monsters/beec/paina3.wav" 1 

client aliascache snd_death1 "monsters/beec/mixdeth1d.wav" 1 
client aliascache snd_death2 "monsters/beec/mixdeth2a.wav" 1 
client aliascache snd_death3 "monsters/beec/mixdeth2b.wav" 1 
client aliascache snd_death4 "monsters/beec/mixdeth2c.wav" 1 

client aliascache snd_fire1     "weapons/pulse/fire3.wav" 1

client aliascache snd_attack1 "monsters/beec/mixattk1.wav" 1 
client aliascache snd_attack2 "monsters/beec/mixattk2.wav" 1 

// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:

// Normal Animations
client melee1 1 randomsound snd_attack 1
server melee1 1 melee
server melee1 1 weaponsound

client fire1 1 shootbeam gun models/beam.def length 500
client fire1 1 dlight 0 0 0 0 1 0 300 0 0.6 0.8
client fire1 1 randomsound snd_fire 1 1
server fire1 1 weaponsound
server fire1 1 fire
server fire1 1 attack_finished

client fire1 3 shootbeam gun models/beam.def length 500
client fire1 3 dlight 0 0 0 0 1 0 300 0 0.6 0.8
client fire1 3 randomsound snd_fire 1 1
server fire1 3 weaponsound
server fire1 3 fire
server fire1 3 attack_finished

client fire1 5 shootbeam gun models/beam.def length 500
client fire1 5 dlight 0 0 0 0 1 0 300 0 0.6 0.8
client fire1 5 randomsound snd_fire 1 1
server fire1 5 weaponsound
server fire1 5 fire
server fire1 5 attack_finished

client fire1 7 shootbeam gun models/beam.def length 500
client fire1 7 dlight 0 0 0 0 1 0 300 0 0.6 0.8
client fire1 7 randomsound snd_fire 1 1
server fire1 7 weaponsound
server fire1 7 fire
server fire1 7 attack_finished

client fire1 9 shootbeam gun models/beam.def length 500
client fire1 9 dlight 0 0 0 0 1 0 300 0 0.6 0.8
client fire1 9 randomsound snd_fire 1 1
server fire1 9 weaponsound
server fire1 9 fire
server fire1 9 attack_finished

//server idle1 first randomambientsound snd_idle_hover 1 1
//server fly1 first randomambientsound snd_hover 1 1
//server fly_patrol1 first randomambientsound snd_hover 1 1

server idle1 first randomsound snd_idle_hover 1 1
server fly1 first randomsound snd_hover 1 1
server fly_patrol1 first randomsound snd_hover 1 1

client death1 first randomsound snd_death 1
server death1 first deathsound
//client death2 first randomsound snd_death 1
//client death3 first randomsound snd_death 1

client pain1 first randomsound snd_painlng 1 1
server pain1 first deathsound
client pain2 first randomsound snd_painshrt 1 1
server pain2 first deathsound
client pain3 first randomsound snd_painshrt 1 1
server pain3 first deathsound
client pain4 first randomsound snd_painlng 1 1
server pain4 first deathsound
client pain5 first randomsound snd_painshrt 1 1
server pain5 first deathsound

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Monster/bee.def            $
// 
// 27    10/25/98 8:15p Joeske
// Added in Zack's fixes.
// 
// 26    10/23/98 4:12a Aldie
// Changed weapon effect
// 
// 25    10/23/98 2:34a Markd
//
// 24    10/21/98 11:38p Markd
// fixed firing and fighting
//
// 23    10/10/98 1:39p Beau
//
// 22    10/09/98 11:59p Markd
// Fixed melee attacks etc.
//
// 21    9/20/98 8:37p Onethumb
// Semi-final revisions complete, almost ready for first half beta
//
// 20    9/20/98 7:14p Onethumb
// Minor changes
//
// 19    9/14/98 12:03p Onethumb
// Added health
//
// 18    9/13/98 6:35p Onethumb
//
// 16    9/13/98 6:22p Onethumb
// Minor problems fixed
//
// 15    9/13/98 6:06p Onethumb
// Polished sound and animation sections
//
// 14    9/13/98 4:32p Onethumb
// More bounding box tweaks
//
// 13    9/13/98 4:30p Onethumb
// Fiddling with bounding box
//
// 12    9/13/98 4:27p Onethumb
// Reformatted DEF file
// -----------------------------------------------------------------------------
